From 781cbee39dca9c807a2496b707b82f0b58818d39 Mon Sep 17 00:00:00 2001 From: "cl349@firebug.cl.cam.ac.uk" Date: Mon, 12 Sep 2005 19:46:30 +0000 Subject: [PATCH] Don't remove backend store directory before device_unregister. Signed-off-by: Christian Limpach --- linux-2.6-xen-sparse/drivers/xen/blkback/xenbus.c | 1 - 1 file changed, 1 deletion(-) diff --git a/linux-2.6-xen-sparse/drivers/xen/blkback/xenbus.c b/linux-2.6-xen-sparse/drivers/xen/blkback/xenbus.c index 0872124919..17760646ab 100644 --- a/linux-2.6-xen-sparse/drivers/xen/blkback/xenbus.c +++ b/linux-2.6-xen-sparse/drivers/xen/blkback/xenbus.c @@ -65,7 +65,6 @@ static void frontend_changed(struct xenbus_watch *watch, const char *node) /* If other end is gone, delete ourself. */ if (node && !xenbus_exists(be->frontpath, "")) { - xenbus_rm(be->dev->nodename, ""); device_unregister(&be->dev->dev); return; } -- 2.30.2